/*
 * @Author: your name
 * @Date: 2021-08-26 18:45:09
 * @LastEditTime: 2021-08-26 19:00:07
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \briup\5-javascript\day04\9-递归实现十的阶乘.js
 */
var sum = 1;

function per() {
    for (var i = 1; i < arguments.length; i++) {
        sum *= i;
    }
    console.log(sum);
}
per(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);